package HomeWork03;
import java.util.*;
import static java.util.Arrays.sort;

/**
 * Enjoy programming!!!
 * Time: 2021/11/5 -  21:59
 */
public class ArraySort {
    public static void main(String[] args){
        Scanner in = new Scanner(System.in);
        int a = in.nextInt();
        int[] array = {10, 12, 45, 90,a};

        sort(array);
        for (int e : array){
            System.out.print(e + " ");
        }
        System.out.println();
    }
}
